.vue-app-wrapper {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  
  .vue-app-title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 500;
    color: #1890ff;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
  }
  
  .vue-app-container {
    flex: 1;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 16px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    
    // 加载状态样式
    .vue-app-loading {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
      min-height: 400px;
      
      .loading-hint {
        margin-top: 16px;
        color: #666;
        font-size: 14px;
      }
    }
    
    // 错误状态样式
    .vue-app-error {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      min-height: 400px;
      
      .ant-alert {
        max-width: 600px;
        
        ul {
          margin: 8px 0;
          padding-left: 20px;
          
          li {
            margin: 4px 0;
            color: #666;
          }
        }
      }
    }
    
    // 当微应用成功加载时，隐藏加载和错误状态
    &:not(:empty) {
      .vue-app-loading,
      .vue-app-error {
        display: none;
      }
    }
  }
  
  // 响应式设计
  @media (max-width: 768px) {
    padding: 12px;
    
    .vue-app-title {
      font-size: 18px;
      margin-bottom: 12px;
    }
    
    .vue-app-container {
      padding: 12px;
      min-height: 400px;
    }
  }
}